home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
os20
/
util
/
makevport_pch.lha
/
MakeVPort_Patch.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-21
|
376b
|
20 lines
#define _USEOLDEXEC_
#include <proto/exec.h>
#include <graphics/view.h>
#include "MakeVPort_Patch_rev.h"
void (*OldFunc)(struct View *, struct ViewPort *);
void MVP_Patch(void);
int _main(void) {
struct GfxBase *GfxBase;
if (GfxBase = OpenLibrary("graphics.library"VERSTAG,37)) {
OldFunc = SetFunction(GfxBase, -(0xd8), (APTR)MVP_Patch);
Wait(0);
}
return(0);
}